package com.tengju.bff.interfaces.covercharge.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "提现规则")
public class WithdrawalRule {

    @ApiModelProperty(value = "操作符",example = "> 或 <", required = true)
    private String operator;

    @ApiModelProperty(value = "规则额度",example = "如10万", required = true)
    private String money;

    @ApiModelProperty(value = "手续费率", required = true)
    private String ratio;

    public WithdrawalRule(String operator, String money, String ratio) {
        this.operator = operator;
        this.money = money;
        this.ratio = ratio;
    }
}
